﻿using Chloe;

namespace PrismORM
{
    public interface IPrismORM
    {
        T1 Insert<T1>(T1 obj);

        int Delete<T1>(T1 obj);

        int Update<T1>(T1 obj);

        IQuery<T1> CreateQuery<T1>();

        IDbContext GetDbContext();
    }
}